﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Xpus.Website.Data
{
	partial class XpusDataContext
	{
		partial void InsertUser(User instance)
		{
			instance.SaveSettings();
			this.ExecuteDynamicInsert(instance);
		}

		partial void UpdateUser(User instance)
		{
			instance.SaveSettings();
			this.ExecuteDynamicUpdate(instance);
		}

		partial void InsertArea(Area instance)
		{
			instance.SaveSettings();
			this.ExecuteDynamicInsert(instance);
		}

		partial void UpdateArea(Area instance)
		{
			instance.SaveSettings();
			this.ExecuteDynamicUpdate(instance);
		}

		partial void InsertContent(Content instance)
		{
			instance.SaveSettings();
			this.ExecuteDynamicInsert(instance);
		}

		partial void UpdateContent(Content instance)
		{
			instance.SaveSettings();
			this.ExecuteDynamicUpdate(instance);
		}
	}
}
